let changeItemNumebr = function (node, timer) {
    setInterval(function () {
        let firstNode = node.children[0];
        node.style.transition = 'all .7s linear'
        node.style.top = '-120px';
        node.addEventListener('transitionend', function () {
            node.appendChild(firstNode);
            node.style.transition = 'none'
            node.style.top = '0px'
        })
    }, timer)
}
changeItemNumebr(document.querySelectorAll(".time-item")[5].getElementsByTagName('ul')[0], 1000);
changeItemNumebr(document.querySelectorAll(".time-item")[4].getElementsByTagName('ul')[0], 10000);
changeItemNumebr(document.querySelectorAll(".time-item")[3].getElementsByTagName('ul')[0], 6010000);
changeItemNumebr(document.querySelectorAll(".time-item")[2].getElementsByTagName('ul')[0], 1000 * 60* 9);
changeItemNumebr(document.querySelectorAll(".time-item")[1].getElementsByTagName('ul')[0], 1000 * 60 * 59);
changeItemNumebr(document.querySelectorAll(".time-item")[0].getElementsByTagName('ul')[0], 1000 * 60 * 60 * 9);